feat: adds support for custom labels#74
Conversation
4b341da to
ea04bfb
Compare
Co-Authored-By: Anirudh Edpuganti <aniedpuganti@gmail.com> Co-Authored-By: Shreyas Pandya <pandyashreyas1@gmail.com> Signed-off-by: Gagan H R <hrgagan4@gmail.com>
f0edf68 to
daf4706
Compare
Signed-off-by: Gagan H R <hrgagan4@gmail.com>
ea86aa8 to
dd70f83
Compare
lumjjb
left a comment
There was a problem hiding this comment.
one of the concerns i have is how others are currently using selectorLabels. This may break some users. is there a way we can add an error message for users that use selectorLabels will get a message about the new change to the new labels?
|
If you see the _helpers.tpl, This is the main reason why So, I don't see it breaking for the existing users of GUAC helm chart. It's just that the pod may have a few more labels than expected. |
Fixes #75
customLabels. Any label mentioned under this would apply to all the kubernetes resources defined in the helm chart.guac.labelsreplacingguac.selectorLabelsin a few places.guac.labelsincludesguac.selectorLabels, in other words it is a superset of theselectorLabels. So as a part of this change, since customLabels are also a part ofguac.labelsnow, it had to be placed in all labels section. Having both labels and selector labels would create duplicates, to avoid that, this change of replacingguac.selectorLabelswithguac.labelshas been done